[INFO] cloning repository https://github.com/r-darwish/dupfiles-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r-darwish/dupfiles-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-darwish%2Fdupfiles-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-darwish%2Fdupfiles-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f8c495c2f3253314199312f59c9542d324b18cc6
[INFO] checking r-darwish/dupfiles-rs against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-darwish%2Fdupfiles-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/r-darwish/dupfiles-rs on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/r-darwish/dupfiles-rs
[INFO] finished tweaking git repo https://github.com/r-darwish/dupfiles-rs
[INFO] tweaked toml for git repo https://github.com/r-darwish/dupfiles-rs written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/r-darwish/dupfiles-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded walker v1.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] efc39f52e64af8842c154c6f36ada33067e789940b9c7d52b45cdd91c335b369
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "efc39f52e64af8842c154c6f36ada33067e789940b9c7d52b45cdd91c335b369", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "efc39f52e64af8842c154c6f36ada33067e789940b9c7d52b45cdd91c335b369", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "efc39f52e64af8842c154c6f36ada33067e789940b9c7d52b45cdd91c335b369", kill_on_drop: false }`
[INFO] [stdout] efc39f52e64af8842c154c6f36ada33067e789940b9c7d52b45cdd91c335b369
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 13a4f699e26b4db9417c9bbeaa3d2b26891cceb9bea495c42d1be5eecd066fc5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "13a4f699e26b4db9417c9bbeaa3d2b26891cceb9bea495c42d1be5eecd066fc5", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling openssl v0.10.30
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking walker v1.0.1
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling openssl-sys v0.9.58
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking dupfiles v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl`
[INFO] [stdout]  --> src/main.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use openssl::crypto::hash::hash;
[INFO] [stdout]   |              ^^^^^^ could not find `crypto` in `openssl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl`
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use openssl::crypto::hash::Type as HashType;
[INFO] [stdout]   |              ^^^^^^ could not find `crypto` in `openssl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `memmap::Protection`
[INFO] [stdout]   --> src/main.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 | use memmap::{Mmap, Protection};
[INFO] [stdout]    |                    ^^^^^^^^^^ no `Protection` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashType`
[INFO] [stdout]   --> src/main.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let hash_vec = hash(HashType::SHA1, bytes);
[INFO] [stdout]    |                         ^^^^^^^^ use of undeclared type or module `HashType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hash` in this scope
[INFO] [stdout]   --> src/main.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let hash_vec = hash(HashType::SHA1, bytes);
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use openssl::hash::hash;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::ptr::hash;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let file_mmap = try!(Mmap::open_path(path, Protection::Read));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let file_type = try!(entry.file_type());
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let file_size = try!(entry.metadata().map(|m| m.len()));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let hash = try!(hash_file(entry.path().as_path()));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl`
[INFO] [stdout]  --> src/main.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use openssl::crypto::hash::hash;
[INFO] [stdout]   |              ^^^^^^ could not find `crypto` in `openssl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl`
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use openssl::crypto::hash::Type as HashType;
[INFO] [stdout]   |              ^^^^^^ could not find `crypto` in `openssl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `memmap::Protection`
[INFO] [stdout]   --> src/main.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 | use memmap::{Mmap, Protection};
[INFO] [stdout]    |                    ^^^^^^^^^^ no `Protection` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HashType`
[INFO] [stdout]   --> src/main.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let hash_vec = hash(HashType::SHA1, bytes);
[INFO] [stdout]    |                         ^^^^^^^^ use of undeclared type or module `HashType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hash` in this scope
[INFO] [stdout]   --> src/main.rs:23:20
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let hash_vec = hash(HashType::SHA1, bytes);
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use openssl::hash::hash;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::ptr::hash;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let file_mmap = try!(Mmap::open_path(path, Protection::Read));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let file_type = try!(entry.file_type());
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let file_size = try!(entry.metadata().map(|m| m.len()));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let hash = try!(hash_file(entry.path().as_path()));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `open_path` found for struct `Mmap` in the current scope
[INFO] [stdout]   --> src/main.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let file_mmap = try!(Mmap::open_path(path, Protection::Read));
[INFO] [stdout]    |                                ^^^^^^^^^ function or associated item not found in `Mmap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dupfiles`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no function or associated item named `open_path` found for struct `Mmap` in the current scope
[INFO] [stdout]   --> src/main.rs:21:32
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let file_mmap = try!(Mmap::open_path(path, Protection::Read));
[INFO] [stdout]    |                                ^^^^^^^^^ function or associated item not found in `Mmap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "13a4f699e26b4db9417c9bbeaa3d2b26891cceb9bea495c42d1be5eecd066fc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13a4f699e26b4db9417c9bbeaa3d2b26891cceb9bea495c42d1be5eecd066fc5", kill_on_drop: false }`
[INFO] [stdout] 13a4f699e26b4db9417c9bbeaa3d2b26891cceb9bea495c42d1be5eecd066fc5
